//
//  SearchCell.swift
//  DownlodTube
//
//  Created by Carlos on 08/10/14.
//  Copyright (c) 2014 Carlos. All rights reserved.
//

import UIKit

class SearchCell: UITableViewCell {

    var videoId:String!
    
    @IBOutlet weak var thumbnail: UIImageView!
    @IBOutlet weak var title: UILabel!
    @IBOutlet weak var author: UILabel!
    @IBOutlet weak var views: UILabel!
    @IBOutlet weak var length: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        // Initialization code
        
        lookAndFeel()
    }

//    override func setSelected(selected: Bool, animated: Bool) {
//
//        super.setSelected(selected, animated: animated)
//    }
    
    private func lookAndFeel(){
        
        title.textColor = LookAndFeel.style.titleCellColor
        title.font = LookAndFeel.style.titleCellFont
        author.textColor = LookAndFeel.style.rojoOscuro
        author.font = LookAndFeel.style.subtitleCellFont
        views.textColor = LookAndFeel.style.subtitleMiniCellColor
        views.font = LookAndFeel.style.subtitleMiniCellFont
        thumbnail.layer.borderColor = LookAndFeel.style.secondaryColor.CGColor
        thumbnail.layer.borderWidth = 0.5
        
    }


}
